package com.yun.platform.iot.controller;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.platform.config.BaseCURDController;
import com.yun.platform.config.dto.RData;
import com.yun.platform.iot.entity.AutoDevice;
import com.yun.platform.iot.service.AutoDeviceService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Hanson  2022-11-24
 *
 * @Desciprtion:  自动化与设备关系表
相关接口
 */
@RestController
@RequestMapping("/iot/autodevice/")
@Slf4j
@Api(value = "自动化与设备关系表 相关接口", tags = {"自动化与设备关系表 操作接口"})
public class AutoDeviceController extends BaseCURDController<AutoDevice> {

    @Autowired
    private AutoDeviceService autoDeviceService;

    @Override
    public ServiceImpl getService() {
        return autoDeviceService;
    }


    /**
     * 自动化与设备关系
     */
    public RData autoAndDevice(){
        return null;
    }
}